home *** CD-ROM | disk | FTP | other *** search
/ Chip: Internet / Chip Internet.iso / viewer / emtex.ins / dvineclq / dviproc.zoo / pctex / dviman.doc < prev    next >
Text File  |  1990-04-13  |  34KB  |  773 lines

  1.  
  2.  
  3.  
  4.  
  5.        DVIxxx - Display TeX-DVI Files on Assorted Output Devices
  6.       -----------------------------------------------------------
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.          DVIxxx --- TeX DVI to device "xxx" translator family
  13.  
  14.  
  15.  
  16. SYNOPSIS
  17.  
  18. dvixxx [-a] [-b] [-c\#] [-d\#] [-e{\it VAR=value}] [-f{\it fontsubfile}]
  19.        [-l] [-m\#] [-o\#] [-o\#:\#] [-o\#:\#:\#] [-p] [-q] [-r\#] [-s\#] [-v]
  20.        [-x\#{\it units}] [-y\#{\it units}] [-z] dvifile1 [ dvifile2] ...
  21.  
  22. xxx = output device identifier suffix (see below)
  23.  
  24.  
  25.  
  26. DESCRIPTION:
  27.  
  28. Several TeX-DVI translators are available.  They all expect the name of
  29. the DVI file on the command line, and the extension ".dvi" can always be
  30. omitted.  As illustrated below, they issue a one-line identifier message
  31. and, if no command line arguments are given, type a UNIX-style usage
  32. message.  Some of them may have additional help files.  On
  33. case-sensitive file systems, file names may be expected to be entirely
  34. in lower case, so you should type "dvialw" instead of "DVIALW".
  35.  
  36. For all except DVIBIT (which is intended for interactive display), the
  37. output file will be given the name of the ".dvi" file, but extension
  38. ".xxx", where xxx is the three-character mnemonic for the translator
  39. program. For DVIBIT, output is on "stdout" which defaults to the
  40. terminal; it may be redirected in the usual UNIX fashion by ">filename"
  41. on the command line (e.g. "dvibit foo >foo.out").
  42.  
  43. As each ".dvi" file is processed, a list of errors is printed on the
  44. standard error unit "stderr"; this list is also saved in a file with
  45. extension ".err".  This file is not created if there are no errors. As
  46. each page is printed, the physical page number and the TeX page
  47. number(s) are printed without a following carriage return; after the
  48. last page, the string "[OK]" is printed, followed by a newline.  This
  49. gives a convenient progress report to the terminal.  If it is not
  50. wanted, then the error output can be redirected into a file (possibly
  51. the null device) (e.g. "dvixxx foo &foo.err"), or the "-q" (quiet)
  52. option can be given to suppress it.
  53.  
  54. These drivers are written in C, and with C preprocessor  conditional
  55. compilation features, are all derived from one master set of files, so
  56. that there is substantial code sharing among them. Host machine and
  57. output device dependencies are parametrized to allow easy movement to
  58. new hosts and new output devices. Implementations now exist on
  59.  
  60.                     Apollo Domain AEGIS SR 9.7 (and BSD 4.2 UNIX)
  61.                     Gould UNIX,
  62.                     Hewlett-Packard UNIX,
  63.                     PC-DOS,
  64.                     TOPS-20,
  65.                     VAX UNIX, and
  66.                     VAX VMS,
  67.  
  68. with others in progress.
  69.  
  70.  
  71.  
  72.  
  73. DEVICES SUPPORTED:
  74.  
  75. The available translators are as follows:
  76.  
  77. DVIALW              "Adobe Postscript" (Apple LaserWriter)
  78. DVICAN              Canon LBP-8 A2 laser printer
  79. DVIEPS              Epson FX - 9pin printer (240/216 dpi) --- experimental
  80. DVIE72              Epson FX - 9pin printer (60/72 dpi) --- experimental
  81. DVIGD               Golden Dawn Golden Laser 100 printer
  82. DVIIMP              Imagen imPRESS-language laser printer family
  83. DVIJEP              Hewlett-Packard LaserJet Plus
  84. DVIJET              Hewlett-Packard LaserJet
  85. DVIKYO              Kyocera F1010 Laser Printer (in HP LaserJet plus Emulation)
  86. DVILQ               EPSON LQ - 24pin printer (180/180 dpi) --- experimental
  87. DVILQ360            EPSON LQ - 24pin printer (360/360 dpi) --- only PC-DOS
  88. DVIL3P              DEC LN03 Plus laser printer
  89. DVIL75              DEC LA75 144 dpi printer
  90. DVIM72              Apple Imagewriter 72 dpi printer
  91. DVIMAC              Apple Imagewriter 144 dpi printer
  92. DVIMPI              MPI Sprinter 72 dpi printer
  93. DVINEC              NEC P6 - 24pin printer (360/360 dpi) --- only PC-DOS
  94. DVINECLQ            NEC P6 / EPSON LQ - 24pin printer (360/180 dpi) --- dto.
  95. DVIO72              OKIDATA Pacemark 2410 72 dpi printer
  96. DVIOKI              OKIDATA Pacemark 2410 144 dpi printer
  97. DVIPRX              Printronix 60h $\times$ 72v dpi printer
  98. DVITOS              Toshiba P-1351 - 24pin printer (180 dpi)
  99.  
  100.  
  101.  
  102.  
  103. OPTIONS:
  104.  
  105. The order of command options and DVI file names is not(!) significant;
  106. all switch values apply to all DVI files. DVI files are processed in
  107. order from left to right.
  108.  
  109. Letter case is ignored(!) in option switches: "-A" and "-a" are
  110. equivalent.
  111.  
  112.  -a             Implement virtual font caching, if possible.
  113.                 When a font file is opened, a buffer is allocated
  114.                 to contain the entire file, and the file is then
  115.                 read with one system call.  This is important
  116.                 primarily on networked file systems, where the
  117.                 many random-access calls in the font file for
  118.                 small amounts of data entail substantial network
  119.                 overhead.  With the entire file cached in local
  120.                 memory, this overhead is removed. The
  121.                 additional memory required for the font file
  122.                 buffers amounts to 100K to 200K bytes (assuming
  123.                 the compact ".PK" font file format), which is
  124.                 not excessive. If memory cannot be allocated for
  125.                 a font file, then normal buffering of small
  126.                 blocks is used. A trace option ("-d64") is
  127.                 provided to monitor the font caching; see below.
  128.  
  129. -b              Backwards order printing from the default. For example,
  130.                 laser printers using the Canon LBP-CX print
  131.                 engine normally
  132.                 receive pages in reverse order because they stack
  133.                 printed side up. Some have page handling mechanisms
  134.                 that stack them face down, and in such a case
  135.                 "-b" will
  136.                 ensure that they come out in order 1, 2, ...
  137.                 instead of n, n-1, n-2, ...
  138.  
  139. -c#             Print # copies of each output page. Page copies
  140.                 are printed consecutively; this does not(!)
  141.                 give multiple collated copies of the entire job.
  142.                 --- This option does not work with drivers
  143.                 for matrix-printers ---
  144.  
  145. -d#             Produce debugging output on "stderr" if a
  146.                 non-zero value is given.  Multiple "-d"
  147.                 switches may be specified, and one may also add
  148.                 values of the following possible options to
  149.                 obtain the switch value:
  150.  
  151.                 1       (DVIJET only) print page bitmap in hexadecimal;
  152.  
  153.                 2       display page coordinates and metrics of
  154.                         each output character, and print each
  155.                         character bitmap in hexadecimal;
  156.  
  157.                 4       (DVIJEP/DVIKYO only) display updated page
  158.                         coordinate of each character after each call
  159.                         to "fixpos()";
  160.  
  161.                 8       print filename and open mode of
  162.                         each successful(!) file opening;
  163.  
  164.                 16      print filename and open mode of
  165.                         each unsuccessful(!) file opening;
  166.  
  167.                 32      show discarded off-page text;
  168.  
  169.                 64      trace virtual font caching;
  170.  
  171.                 128     trace character setting (lots of output).
  172.  
  173.                 For example, either "-d8 -d16" or "-d24"
  174.                 will trace all attempted file openings.
  175.  
  176.  -eVAR=value
  177.                 Define an environment variable on the command
  178.                 line (see the later section "Environment
  179.                 Variables").  The acceptable values for
  180.                 "VAR" are "DVIHELP", "FONTLIST", "TEXFONTS", and
  181.                 "TEXINPUTS".  Under normal use of the
  182.                 translators, these can be set by PC-DOS
  183.                 "SET" command. When the
  184.                 translator is invoked by another program, such as
  185.                 a print spooler, on some systems it may not be
  186.                 possible to set a
  187.                 particular value of an environment variable for
  188.                 the subprocess, so this option gets around this
  189.                 limitation.
  190.  
  191. -ffontsubfile
  192.                 Define an alternate font substitution file which
  193.                 is to be used instead of the default ones (see below).
  194.  
  195. -l              Inhibit logging.
  196.  
  197. -m#             Reset magnification to #.  The default for low
  198.                 resolution printers is "-m603", corresponding
  199.                 to 1/1.2**5 magnification of 300-dot/inch
  200.                 fonts.  By TeX
  201.                 conventions, magnification 1000 corresponds to a
  202.                 200-dot/inch output device.  The default
  203.                 magnification is always adjusted according to the
  204.                 output device resolution in order to give a
  205.                 normal page size, so this parameter should rarely
  206.                 be required. Legal values are
  207.  
  208.                 int((1000 or 1440 or 1500)*1.2**{k/2})   (k = -16...16);
  209.  
  210.                 other values will be set to the nearest in this
  211.                 family.  Not all fonts will be available in this
  212.                 wide range, and most installations will probably
  213.                 have only a half dozen or so magnifications.
  214.  
  215.                 Magnification values less than 25 are taken to be a
  216.                 TeX-magstep parameter which is applied to the
  217.                 standard magnification for that device.  For
  218.                 example, "-m-0.5" selects a smaller size, and
  219.                 "-m2" selects a size 1.44 times larger than
  220.                 normal.
  221.  
  222. -o#: or -o#:#: or -o#:#:#
  223.                 Specify a page number, or range of page numbers,
  224.                 to be selected for output. In the third form,
  225.                 the last number is the page number step size; it
  226.                 is normally 1. This option may be
  227.                 specified any number of times. If it is not
  228.                 specified, then all pages will be printed. Pages
  229.                 are numbered in order 1, 2, 3, ... in the
  230.                 file, but any page number recorded by TeX on
  231.                 the printed page will in general be different.
  232.                 Negative page numbers count backward; -1 is the
  233.                 last page in the document, -2 the second last
  234.                 page, and so on.
  235.  
  236.                 As pages are selected for
  237.                 printing, "[#{#}" will be printed on
  238.                 "stderr", where the first "#" is the page
  239.                 number in the file, and the second "#" is
  240.                 a string of values of the TeX counters
  241.                 "\count0" through  "\count9", separated
  242.                 by dots, with trailing zero counters dropped.
  243.                 "\count0" usually records the printed page number.
  244.                 When the page is completely output, a closing
  245.                 "]" will be printed on "stderr". Any
  246.                 error messages from processing of that page will
  247.                 therefore occur between the square brackets.  For
  248.                 example, "-o1:3 -o12 -o17:23 -o-3:-1" would
  249.                 select pages 1, 2, 3, 12, 17, 18, 19, 20, 21, 22,
  250.                 and 23, plus the last three pages.
  251.  
  252.                 Pages are
  253.                 processed in the order found in the DVI file;
  254.                 there is intentionally no attempt made to sort
  255.                 them according the "\count0" values, since
  256.                 different macro packages may use this counter for
  257.                 different purposes, and in the case of floating
  258.                 tables and figures, the pages may not be in order
  259.                 anyway.
  260.  
  261.                 Pages will always be printed in an order
  262.                 appropriate for the device so that the first
  263.                 document page occurs first face up in the
  264.                 document stack; the "-b" option can be used
  265.                 to reverse this order. For example, some
  266.                 Hewlett-Packard LaserJet Plus printers are
  267.                 equipped with a page flipper which stacks output
  268.                 face down; for these, the "-b" option will
  269.                 ensure that the pages come out in the expected
  270.                 order.
  271.  
  272.                 Specification of a page number step size is
  273.                 useful for producing duplex (two-sided) printing.
  274.                 For example, with laser printers using the Canon
  275.                 LBP-CX engine, the first run could specify
  276.                 "-o1:9999:2", which would stack output face up,
  277.                 beginning with the last page, and ending with
  278.                 page 1 on top.  The printed pages can then be
  279.                 reinserted in the input tray "face up", page
  280.                 1 on the top, exactly as they were found in the
  281.                 output tray, with the top of the page in the tray
  282.                 closest to the end which is inserted first into the
  283.                 printer.  A second run with "-b -o2:9999:2"
  284.                 would then print pages 2, 4, ..., on the backs
  285.                 of pages 1, 3, \ldots; note the "-b" option
  286.                 to get backwards order on the second run.
  287.  
  288.                 There is a bug in Microsoft C's "sscanf()" on the IBM
  289.                 PC; it does not correctly parse input on the format
  290.                 "%d:%d:%d" in "option()" for the page number switch.
  291.                 It correctly returns the numbers, but instead of
  292.                 returning the number of such items parsed, it returns
  293.                 -1, which should only happen if none are parsed. A
  294.                 work around seems to be to supply a trailing colon on
  295.                 the switch, so that you write "-o17:" instead of "-o17".
  296.  
  297. -p              Inhibit font preloading. This may produce output a few
  298.                 seconds earlier when all pages are  output, but  should
  299.                 have negligible effect on the execution time, and
  300.                 consequently, should normally not be specified. When
  301.                 individual pages are being printed with the "-o" option,
  302.                 preloading is necessary (and  will be forced) to ensure
  303.                 that all fonts are defined before they are referenced.
  304.  
  305.  -q             Quiet mode. Status displays to "stderr" are suppressed,
  306.                 unless warning or error messages are issued.
  307.  
  308. -r#             (Device = HP LaserJet only).
  309.                 Specify the LaserJet output resolution in dots per inch.
  310.                 "#" must be one of 75, 100, 150, or 300.  The actual
  311.                 plot file is identical in each case; only the
  312.                 size on the output page is changed, because the
  313.                 resolution change is effected by printing 1*1,
  314.                 2*2, 3*3 or 4*4 pixel blocks.
  315.  
  316. -r              (Device = Golden Laser 100 only).
  317.                 Select run-length encoding of the output file.  This
  318.                 reduces disk space typically by 10% to 40%, but
  319.                 increases host CPU time for the preparation of
  320.                 the output file.
  321.  
  322. -r              (Device = Apple ImageWriter only).
  323.                 Select run-length encoding of the output file.
  324.  
  325. -r              (Device = Toshiba P-1351 and
  326.                           Epson FX-Printer only).
  327.                 Select run-length encoding of the output file.  This
  328.                 reduces disk space typically by 10% to 40%, but
  329.                 increases host CPU time for the preparation of
  330.                 the output file, and because of poor logic in the
  331.                 printer, may double the print time!  The print
  332.                 quality is also substantially worse, so this
  333.                 option is generally not(!) recommended.
  334.  
  335. -s#             (Device = Apple LaserWriter only).
  336.                 Force characters larger than # pixels wide or high to
  337.                 be reloaded each time they are required.  The
  338.                 Version 23.0 POSTSCRIPT interpreter has a bug
  339.                 which manifests itself in fatal "VM error"
  340.                 messages when large characters are sent.  A
  341.                 reasonable default value has been set for this
  342.                 which should normally avoid the problem.
  343.                 Specifying "-s0" will cause reloading of
  344.                 every character each time it is used.
  345.  
  346. -u#             (Device = NEC P6  / EPSON LQ  only).
  347.                 Selects unidirectional ("-u1") or
  348.                 bidirectional ("-u0") printing.
  349.                 "-u0" is assumed unless overwritten (except
  350.                 Versions earlier than Jan. 1990:
  351.                 "-u1" is assumed unless overwritten.)
  352.  
  353. -v              (Device = Apple LaserWriter  only).
  354.                 Force reloading of all required fonts at start of each
  355.                 page.
  356.  
  357. -x#units
  358.                 The "-x" options specify the left margin of
  359.                 the TeX page on the output page in any of
  360.                 several units. Letter case is not significant
  361.                 in the units field, which must not(!) be
  362.                 separated from the number by any space. "#"
  363.                 may be fractional. For example, "-x1.0in",
  364.                 "-x2.54cm", "-x72.27pt", and
  365.                 "-x6.0225pc" all specify a one-inch left margin.
  366.                 Negative values are permissible, and may be used
  367.                 to shift the output page left (possibly
  368.                 truncating it on the left) in order to display a
  369.                 wide TeX page.
  370.  
  371.                 The units field is mandatory, and may be one of
  372.  
  373.                 bp
  374.                     big point (1in = 72bp)
  375.                 cc
  376.                     cicero (1cc = 12dd)
  377.                 cm
  378.                     centimeter (1in = 2.54cm)
  379.                 dd
  380.                     didot point (1157dd = 1238pt)
  381.                 in
  382.                     inch
  383.                 mm
  384.                     millimeter (10mm = 1cm)
  385.                 pc
  386.                     pica (1pc = 12pt)
  387.                 pt
  388.                     point (72.27pt = 1in)
  389.                 sp
  390.                     scaled point (65536sp = 1pt)
  391.  
  392.  
  393. -y#units
  394.                 The "-y" options specify the top margin of
  395.                 the TeX page
  396.                 on the output page in any of the indicated units.
  397.                 Letter case is not significant in the unit field,
  398.                 which must not(!) be separated from the number by
  399.                 any space. "#" may be fractional.  For example,
  400.                 "-y1.0in", "-y2.54cm", "-y72.27pt",
  401.                 and "-y6.0225pc" all specify a one-inch top
  402.                 margin.  Negative values are permissible, and may
  403.                 be used to shift the output page up (possibly
  404.                 truncating it on the top) in order to display a
  405.                 long TeX page.
  406.  
  407.                 By decree of the Stanford TeX Project, the
  408.                 default TeX page origin is always 1 inch over and
  409.                 down from the top-left page corner, even when
  410.                 non-American paper sizes are used.  This
  411.                 corresponds to the switch settings "-x1in -y1in";
  412.                 these values are assumed unless  overridden.
  413.  
  414. -z              (TOPS-20 or 4.xBSD Unix only).
  415.                 For each DVI file processed, type in
  416.                 an EXEC command "DVISPOOL: dvifilename" (on
  417.                 Unix, "DVISPOOL dvifilename") followed by a
  418.                 newline; the user may then define "DVISPOOL:" (or
  419.                 "DVISPOOL") to be a program or shell script
  420.                 which sends the translation of the DVI file to
  421.                 the appropriate output spooler.
  422.  
  423.  
  424.  
  425.  
  426. FONT SUBSTITUTION:
  427.  
  428. If no "-ffontsubfile" option is given, and font substitution
  429. is required, if the current DVI file is "foo.dvi", then the
  430. files "foo.sub", "texfonts.sub", and "texfonts.sub" in the directory
  431. defined with "TEXINPUTS" will be tried in order.  The first two
  432. will be found on the current directory.
  433. This gives the option of document-specific,
  434. user-specific, and system-specific substitutions, and the
  435. "-f" option allows all of these to be overridden.
  436.  
  437. Font substitution lines have the form:
  438.  
  439. % comment
  440. oldname.oldmag  ->      subname.submag  % comment
  441. oldname oldmag  ->      subname submag  % comment
  442. oldname         ->      subname         % comment
  443.  
  444. Examples are:
  445.  
  446. % These provide replacements for some LaTeX invisible fonts:
  447. iamr10 1500     ->      amr10 1500      % comment
  448. iamr10.1500     ->      amr10.1500      % comment
  449. iamssb8         ->      amssb8          % comment
  450.  
  451. The first  two  forms request  substitution  of a  particular  font  and
  452. magnification.  The third  form substitutes an  entire font family;  the
  453. closest available magnification to the  required one will be used.   Any
  454. dots in  the  non-comment  portion  will be  converted  to  spaces,  and
  455. therefore, cannot be part of a name field.
  456.  
  457. The first matching substitution will be selected, so
  458. magnification-specific substitutions should be given first,
  459. before family substitutions.
  460.  
  461. Comments are introduced by percent and continue to end-of-line,
  462. just as for TeX.  One whitespace character is equivalent to
  463. any amount of whitespace.  Whitespace and comments are optional.
  464.  
  465.  
  466.  
  467.  
  468. SPECIALS
  469.  
  470. The TeX "\special{}" command is intended to allow the
  471. specification in a ".tex" file of a request to the DVI
  472. driver, usually for the insertion of graphical material at that
  473. point in the document.  It is currently implemented only for
  474. DVIALW; other drivers will simply issue a warning message.
  475.  
  476. The TeX "\special{}" command is expected to look like one
  477. of the following:
  478.  
  479.     \special{overlay filename}          % absolute positioning
  480.     \special{include filename}          % relative positioning
  481.     \special{insert filename}           % relative positioning
  482.  
  483. In the first case, the POSTSCRIPT file to be included will be
  484. mapped onto the page at precisely the coordinates it specifies.
  485. In the other two cases, the upper-left corner of the bounding box
  486. will be placed at the current point.  The POSTSCRIPT file must
  487. then contain (usually near the start) a comment of the form
  488.  
  489. %%BoundingBox: llx lly urx ury
  490.  
  491. specifying the bounding  box lower-left and  upper-right coordinates  in
  492. standard POSTSCRIPT units (1/72 inch).  Alternatively, if the comment
  493.  
  494. %%BoundingBox: (atend)
  495.  
  496. is found in  the file,  the last  1000 characters  of the  file will  be
  497. searched to find a comment of the form:
  498.  
  499. %%BoundingBox: llx lly urx ury
  500.  
  501. If the POSTSCRIPT file cannot be opened, or the
  502. "\special{}" command string cannot be recognized, or for
  503. relative positioning, the bounding box cannot be determined, a
  504. warning message is issued and the "\special" command is
  505. ignored.
  506.  
  507. Otherwise, the section of the POSTSCRIPT file between the
  508. comment lines
  509.  
  510. %begin(plot)
  511. %end(plot)
  512.  
  513. is copied to the output file surrounded by
  514.  
  515. save
  516. 300 72 div 300 72 div scale % revert to standard 1/72 inch units
  517. % if relative positioning, then
  518. % (xcp(in 1/72in)-llx) (ycp(in 1/72in)-ury) translate
  519. ...PostScript file contents...
  520. restore
  521.  
  522. Plot files produced by <PLOT79> have all the expected commands in
  523. them to allow their use in TeX "\special{}" commands.
  524. The two <PLOT79> parameters which influence the size of the plot
  525. are
  526.  
  527.  - the device  size specified in  the call to  SETSZ(); it defaults  to
  528.    11in if SETSZ is not called.
  529.  
  530.  - the device space specified in  the call to SETDS2() or SETDS3();  it
  531.    defaults in the  CORE system to the unit square, but if the <PLOT79>
  532.    framing routines are called, they will reset the device space to a
  533.    horizontal or vertical frame in proportions of the local standard paper
  534.    size (1 : 8.5/11 in the USA).
  535.  
  536. For example, if a device size of 5in is specified for a
  537. standard horizontal frame, the bounding box will be declared to
  538. be 5in wide and (8.5/11)*5in = 3.8636in high, so a
  539. TeX manuscript requiring the plot could have the following
  540. commands at the start of a new paragraph:
  541.  
  542. \special{include plotfilename}
  543. \vspace*{3.9in}
  544.  
  545.  
  546.  
  547.  
  548. ENVIRONMENT VARIABLES
  549.  
  550. The behavior of the DVI translators can be influenced by
  551. definition of logical names on TOPS-20 and VAX VMS, or
  552. environment variables in UNIX and PC-DOS.  Compiled-in
  553. internal defaults will be provided for any of these which are not
  554. defined.   They must be entirely in upper-case, since that
  555. is conventional on UNIX systems.  The names currently recognized
  556. are as follows:
  557.  
  558. DVIHELP         This variable defines an alternate help string which  is
  559.                 typed when the  user makes  an input  error.  It  should
  560.                 direct  the  user  to  additional  documentation.    For
  561.                 example, on TOPS-20, it might be "try HELP
  562.                 DVI or XINFO DVI".
  563.  
  564. FONTLIST        Normally, the drivers are prepared to search
  565.                 first for ".pk", then ".gf", then ".pxl"
  566.                 font files.  This variable can be used to
  567.                 change this search order, or remove one or more
  568.                 of the possibilities.  It is expected to contain
  569.                 at least one of the strings "PK", "GF",
  570.                 or "PXL", possibly separated by arbitrary
  571.                 punctuation and other text.  This flexibility is
  572.                 necessary because some operating systems expect
  573.                 environment variables to conform to some syntax,
  574.                 such as that of a file name.  Letter case is
  575.                 not significant.    Some acceptable
  576.                 strings are "PXL-then-PK-then-GF",
  577.                 "pk.gf", "use-only-PXL-fonts", and "PXL/GF/PK".
  578.  
  579. TEXFONTS        This defines the directory path for finding font
  580.                 files.  Its value is prepended to the name
  581.                 of a TeX font to get a full file
  582.                 specification.  A typical value in PC-DOS for
  583.                 "TEXFONTS" would be
  584.                 "C:\PCTEX\PIXEL\DPI" (when "C:" is the TeX system drive).
  585.                 On PC-DOS font "cmr10" on a 300-dot/inch device might
  586.                 correspond to the files
  587.                 "c:\pctex\pixel\dpi300\cmr10.gf",
  588.                 "c:\pctex\pixel\dpi300\cmr10.pk", or
  589.                 "c:\pctex\pixel\dpi1500\cmr10.pxl".
  590.  
  591. TEXINPUTS       This defines the directory path for finding files
  592.                 which are not in the current working directory.
  593.                 It is prepended to file names.  A typical
  594.                 value in PC-DOS would be
  595.                 "C:\PCTEX\TEXINPUT" (when "C:" is the TeX system drive).
  596.  
  597.  
  598.  
  599.  
  600. IBM PC Caveats
  601.  
  602. The latest version of the drivers has been compiled with
  603. Microsoft C Version 5.0.  With Version 3.0, some ".dvi" files
  604. experienced a fatal "floating-point stack overflow"
  605. error both with and without a floating-point coprocessor; this
  606. can only be due to code generation errors, and it disappeared
  607. with Version 4.0.
  608.  
  609. PC-DOS by default has only a small number of available open
  610. files, and this number is not adequate for the drivers with the
  611. value of five  for  MAXOPEN  set in "machdefs.h".  You need
  612. to increase the limits by entering the lines
  613.  
  614. FILES=10
  615. BUFFERS=10
  616.  
  617. in the "config.sys" file in the boot directory, then reboot
  618. the system to have the new values take effect.  Larger values are of
  619. course possible, for example  "FILES=20".
  620. But run-time performance can be quite
  621. sensitive to these settings, so you may wish to experiment.
  622.  
  623. If there is no "config.sys" file, or the settings of
  624. "FILES" and "BUFFERS" are too small, you will find the disk
  625. whirring madly while the driver attempts to open font files with
  626. neighboring magnifications, and then it will finally die with a
  627. message "unable to open .err file".  Use of the
  628. "-d24" option may be useful in tracking how many files can
  629. successfully be opened.
  630.  
  631. The drivers have been loaded with the default Microsoft
  632. floating-point library; the compiler generates calls to library
  633. routines which test a flag initialized at startup time which
  634. indicates the presence or absence of the floating-point
  635. coprocessor chip.  If it is available, the library routines will
  636. automatically use it.  You can force the chip to be ignored by
  637. defining an arbitrary non-empty string value for the environment
  638. variable "NO87", for example
  639.  
  640. set NO87=no-80x87-available
  641.  
  642. When the DVI translator runs, the value of this variable should
  643. be typed on the screen as the first output line.  On a Leading
  644. Edge PC, this typeout does not appear, for unknown reasons.
  645. On a 4.77MHz PC XT, the translators run twice (!) as slowly when
  646. "NO87" is defined, but on a 13.55MHz PC/AT-clone, there is nearly
  647. no difference.
  648.  
  649. The reason that you might need to know this is that the method
  650. employed by the library routines for detecting the presence or
  651. absence of an 8087 (or 80287) chip is not infallible, thanks to
  652. design flaws of some PC's and possibly also the Intel chips.  It
  653. is conceivable that the library might think a coprocessor chip is
  654. present, when in fact it is not, and the first floating-point
  655. instruction executed would hang the machine.
  656.  
  657.  
  658.  
  659.  
  660. FILES
  661.  
  662. The values of "TEXINPUTS:" and "TEXFONTS:" below are
  663. system-dependent. On UNIX systems, typical values are
  664. "/usr/local/lib/tex/macros/" and "/usr/local/lib/tex/fonts/";
  665. on PC-DOS systems, typical values are "C:\PCTEX\TEXINPUT" and
  666. "C:\PCTEX\PIXEL\DPI".
  667.  
  668. *.dvi           TeX DeVice Independent output file
  669. *.dvi-err       TeX DVIxxx translator error log
  670. *.err           TeX DVIxxx translator error log
  671.                 when long extensions are not available  (PC-DOS)
  672. *.dvi-xxx       TeX DVIxxx translator output file
  673. *.xxx           TeX DVIxxx translator output
  674.                 file when long extensions are not available (PC-DOS)
  675. *.sub           DVI file-specific font substitution file
  676. DVISPOOL        Environment variable (4.xBSD UNIX only) defining
  677.                 program or shell script which sends translation
  678.                 of DVI file to the appropriate output spooler.
  679. DVISPOOL:       Logical name (TOPS-20 only) defining program
  680.                 which sends translation of DVI file to the
  681.                 appropriate output spooler.
  682. texfonts.sub    Job-wide font substitution file
  683. texfonts:*.*pxl \TeX{} default font rasters  (PC-DOS: "TEXFONTS"*\*.pxl)
  684. texfonts:*.*gf  \TeX{} default font rasters  (PC-DOS: "TEXFONTS"*\*.gf)
  685. texfonts:*.*pk  \TeX{} default font rasters  (PC-DOS: "TEXFONTS"*\*.pk)
  686. texinputs:dvialw.ps
  687.                 POSTSCRIPT header file containing standard macro
  688.                 definitions prefixed to POSTSCRIPT output from
  689.                 DVIALW  (PC-DOS: "TEXINPUTS"\dvialw.ps)
  690. texinputs:texfonts.sub
  691.                 System-wide font substitution file
  692.                 (PC-DOS: "TEXINPUTS"\texfonts.sub)
  693.  
  694.  
  695.  
  696.  
  697. BUGS
  698.  
  699. Bugs in either the software or its documentation
  700. should be reported by electronic or postal mail to
  701.  
  702.     Stefan A. M\"uhlenweg
  703.     Institut f\"ur Meereskunde der Universit\"at Hamburg
  704.     Troplowitzstr. 7
  705.     D-2000 Hamburg 54
  706.     West-Germany
  707.  
  708.     Tel. +49 (40)4123-2996
  709.     EMAIL: me50090@dhhuni4.bitnet
  710.  
  711. or to
  712.  
  713.     Nelson H.F. Beebe
  714.     Center for Scientific Computation
  715.     220 South Physics Building
  716.     University of Utah
  717.     Salt Lake City, UT 84112
  718.     USA
  719.  
  720.     Tel: USA (801) 581-5254
  721.     EMAIL: Beebe@Science.Utah.Edu (Internet)
  722.  
  723.  
  724. An active electronic mailing list for news about the DVI driver family
  725. development is maintained by the author at the above net address.  Send
  726. requests there if you wish to be on it.
  727.  
  728. AUTHORS
  729.  
  730. David Fuchs at Stanford University wrote DVITYPE in "web" and
  731. defined the DVI file format.
  732.  
  733. Mark Senn at Purdue University wrote a preliminary version of the
  734. BBN BitGraph driver in C, using DVITYPE as a model.
  735.  
  736. Stephan v. Bechtolsheim and Bob Brown at Purdue, Robert Wells
  737. at BBN, and Jim Schaad and Richard Furuta at the University of
  738. Washington, improved it.
  739.  
  740. Contributions for POSTSCRIPT devices came from Neal Holtz at
  741. Carleton University.  Simon Barnes of Schlumberger Cambridge
  742. Research Ltd., and Robin Rohlicek at BBN provided useful
  743. additions to the BBN BitGraph driver which have been generalized
  744. and incorporated in Version 2.07.
  745.  
  746. The transformation to about a dozen other device drivers,
  747. the massive code rearrangement for many new features as well as
  748. easy identification of host- and device-dependent sections, plus
  749. support for ".pk" and ".gf" compact font files,
  750. was carried out at the University of Utah by Nelson H.F.  Beebe.
  751. He also wrote the documents "A TeX DVI Driver Family" and
  752. "Using LaTeX at the University of Utah College of Science DEC-20".
  753. The first describes all of these drivers in detail,
  754. and the second is the "Local LaTeX Guide".
  755.  
  756. Lon Willett at Utah adapted DVIJEP to make DVIIMP for the Imagen
  757. laser printer family.
  758.  
  759. John Sauter adapted one of the low-resolution printer drivers to
  760. produce DVIL75 for the DEC LA75 printer, and DVIL3P for the DEC
  761. LN03 Plus laser printer
  762.  
  763. Norman Naugle and colleagues at Texas A&M implemented the
  764. family on several new systems.
  765.  
  766. Fuyun Ling wrote DVINECLQ for PC-DOS --- with EMS memory management for
  767. the big bitmap and output direct to the parallel interface ---
  768. using DVITOS as a model.
  769.  
  770. Stefan A. M\"uhlenweg wrote DVINEC using DVINECLQ, modified DVINEC to DVILQ360
  771. and modified DVIJEP to DVIKYO for use on Kyocera F1010 Laser Printer.
  772.  
  773.